<?php

class Application_Form_Authen extends Zend_Form
{

    public function init()
    {
    
        $userId = new Zend_Form_Element_Text('identifiant');
        $userId->setRequired()
                 ->setLabel('Identifiant :')
                 ->setRequired()
                ->addFilter('StripTags')
                ->addFilter('StringTrim'); 
        $password = new Zend_Form_Element_Password('password');
        $password->setLabel('Mot de passe:')
                ->addFilter('StripTags')
                ->addFilter('StringTrim') 
                ->setRequired();
        $login = new Zend_Form_Element_Submit('login');
        $login->setLabel('Envoyer');
        $this->addElements(array($userId,$password, $login))
                ->setMethod('post');
    }


}

